@include('home.public.header')
<style type="text/css">
    .user {
        width: 97%;
        margin: 0px auto;
    }

    .user-nav {
    }

    .user-nav a {
        display: inline-block;
        float: left;
        padding: 7px 20px;
        margin-left: 10px;
        color: #0B72A4;
    }

    .user-nav a.cur {
        background: #fff;
        border: 1px solid #ddd;
        border-bottom: 0px;
    }

    .user-info {
        padding: 20px 0px;
        font-size: 14px;
        border: 1px solid #ddd;
    }

    .user-info dl {
        display: block;
        width: 99%;
        margin: 0px auto;
        zoom: 1;
        overflow: hidden;
    }

    .user-info dl dt, .user-info dl dd {
        float: left;
        padding: 15px 10px;
    }

    .user-info dl dt {
        clear: both;
        width: 10%;
    }

    .user-info dl dd {
        width: 70%;
    }

    .user-info dl dd input[type='radio'] {
        margin-left: 20px;
    }

    .user-info input[type='text'], .user-info input[type='password'] {
        width: 100px;
        height: 30px;
        line-height: 30px;
        border: 1px solid #ccc;
        padding-top: 0px;
        padding-right: 10px;
        padding-bottom: 0px;
        padding-left: 10px;
    }

    .user-info table {
        width: 100%;
        border: 1px solid #ccc;
        border-bottom: 0px;
    }

    .user-info th, .user-info td {
        padding: 10px 10px;
        border-bottom: 1px solid #ccc;
        text-align: right;
    }

    .user-info h3 {
        text-indent: 15px;
        padding: 15px 0px;
    }

    .sub {
        display: inline-block;
        font-weight: 700;
        font-size: 14px;
        color: white;
        text-align: center;
        width: 170px;
        height: 32px;
        line-height: 32px;
        background: #FF8C19;
        margin-top: 10px;
    }

    .sub:hover {
        color: #fff;
        text-decoration: none;
    }

    .banktable td {
        padding: 0px;
    }

    .onlineRecharge .onlineRechargeContent .numberBlock {
        width: 350px
    }

    .mainBox2 h3 {
        font-size: 20px;
        font-weight: bold;
        color: #E32222;
        padding-left: 0px;
    }

    .content {
        padding: 10px;
    }

    .input {
        border: 1px solid #DDD;
        padding: 2px;
        font: 12px/150% Arial, "Lucida Grande", Verdana, Helvetica, sans-serif;
        color: #333;
    }

    .content #button_10:hover {
        background-color: #286090 !important;
    }

    .selecttabboxNew li {
        float: none;
        line-height: 19px;
    }
</style>
{{--<script src="js/index.js"></script>--}}

<div id="main">

    <div class="main_box">

        <div class="rightArea">
            <div class="onlineRecharge">

                <div class="selecttabNew1">

                    <ul class="selecttabboxNew">
                    @include('home.public.left')
                    <!--<li class=""> <a class="otherBoxTitle" href="/home/Fill/index">线下手动汇款<img src="/home/nofee.png"></a> </li>-->

                        <!--  <li class=""> <a class="otherBoxTitle" href="/home/Fill/zhifu_add">支付宝手动汇款<img src="/home/nofee.png"></a> </li>
                         <li class="cur"> <a class="otherBoxTitle" href="/home/Fill/bank">银行汇款<img src="/home/nofee.png"></a> </li>
                   -->
                    </ul>
                </div>

                <div class="rightArea3">
                    <div class="riskArea">
                        <span class="icon"></span> <span class="hinttext"> <span class="define"></span><span>
 </span> </span>
                    </div>
                </div>

                <div class="mainBox2">


                    <div class="content">
                        <style>
                            #tips2bank {
                                margin-left: 40px;
                            }

                            #tips2bank li {
                                line-height: 45px;
                            }
                        </style>
                        <!--<ul id="tips2bank">
                                          <li><span class="c1">充值方式： </span><span class="c2" id="fownerName1">支付宝</span><span class="c3"></span></li>
                                          <li><span class="c1">收款帐号：</span><span class="c2" id="fownerName2">{$sys.alipay}  </span></li>
                                          <li><span class="c1">收款人名：</span><span class="c2" id="fownerName3">{$sys.alipay_name}</span></li>
                                  <li><span class="c1">附言内容：</span><span class="c2" id="fownerName">{$auth.id}</span></li>

                          <div>
                        </div>
                        <input name="optEmail" value="{$sys.alipay}" type="hidden">
                        <input name="title" value="{$num}" type="hidden">
                        <li><span class="c1">充值金额：</span>
                          <input style="margin-left:55px;" name="money" onkeyup="javascript:buyTurnoverValue();" class="input" id="payAmount" value="100" size="20" type="text">
                          元</span></li>
                                    <input id="button_10" type="submit" value="确认充值" style="width:130px; height:45px; border-radius:5px; margin-top:8px; background:#337ab7; color:#fff; font-size:16px; border:0px;">
              </ul>-->
                        <!--新加-->
                        <form id="form1" name="form1" action="" method="post" onsubmit="return VerifyData();"
                              target="_blank">
                            <table width="60%"
                                   style="border-collapse:collapse;border:1px solid #000000; margin-left:200px; position:absolute;"
                                   border="0" cellpadding="1" cellspacing="1">
                                <tr>
                                    <td height="30" align="right" class="tdwp"><span class="STYLE12">*</span> 充值金额:</td>
                                    <td align="left">&nbsp;&nbsp;&nbsp;
                                        <input name="p3_Amt" type="text" id="p3_Amt"
                                               style="border:1px solid #CCCCCC;height:18px;line-height:20px; width:118px;"
                                               onkeyup="clearNoNum(this);" size="15"/>
                                        <span style="color:#FF0000">&nbsp;&nbsp;&nbsp;*&nbsp;充值金额不能低于{{$config['pay_min_money']}}
                                            元</span></td>
                                </tr>
                                <!--<tr>
                                  <td height="30" align="right" class="tdwp"><span class="STYLE12">*</span> 兑换美元:</td>
                                  <td align="left">&nbsp;&nbsp;&nbsp;
                                    <input  type="text" id="p3_my" style="border:1px solid #CCCCCC;height:18px;line-height:20px; width:118px;"  size="15" disabled="disabled"/></td>
                                </tr>-->
                                <tr>
                                    <td align="right" height="60"><span class="STYLE12">*</span> 选择银行:</td>
                                    <td align="left">
                                        <div style="padding-left:20px;">
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0"
                                                   style="left:0; line-height:40px;">
                                                <tr class="b_rig">
                                                    <td>
                                                        <input type="radio" name="pd_FrpId" value="1101" checked/>
                                                        &nbsp;<img src="/home/images/bank/nongye.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1100"/>
                                                        &nbsp;<img src="/home/images/bank/gongshang.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1106">
                                                        &nbsp;<img src="/home/images/bank/jianshe.gif"/></td>
                                                </tr>
                                                <tr>
                                                    <td><input name="pd_FrpId" type="radio" value="1108"/>
                                                        &nbsp;<img src="/home/images/bank/jiaotong.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1107">
                                                        &nbsp;<img src="/home/images/bank/zhongguo.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1102">
                                                        &nbsp;<img src="/home/images/bank/zhaohang.gif"/></td>
                                                </tr>
                                                <tr class="b_rig">
                                                    <td><input name="pd_FrpId" type="radio" value="1110">
                                                        &nbsp;<img src="/home/images/bank/minsheng.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1112">
                                                        &nbsp;<img src="/home/images/bank/guangda.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1103">
                                                        &nbsp;<img src="/home/images/bank/xingye.gif"/></td>
                                                </tr>
                                                <tr class="b_rig">
                                                    <td><input name="pd_FrpId" type="radio" value="1104">
                                                        &nbsp;<img src="/home/images/bank/zhongxin.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1121"/>
                                                        &nbsp;<img src="/home/images/bank/pingan.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1111">
                                                        &nbsp;<img src="/home/images/bank/huaxia.gif"/></td>
                                                </tr>
                                                <tr class="b_rig">
                                                    <td><input name="pd_FrpId" type="radio" value="1109">
                                                        &nbsp;<img src="/home/images/bank/shangpufa.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1114">
                                                        &nbsp;<img src="/home/images/bank/gdb.gif"/></td>
                                                    <td><input name="pd_FrpId" type="radio" value="1119">
                                                        &nbsp;<img src="/home/images/bank/youzheng.gif"/></td>
                                                </tr>
                                            </table>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="40" colspan="2" align="right">
                                        <div align="center"><span
                                                    style="color:#FF0000">注意：付款后请等待系统自动跳转到提示交易成功的页面。</span></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="35" align="right">&nbsp;</td>
                                    <td height="40" align="left" valign="middle">&nbsp;&nbsp;
                                        <input type="submit" value="马上冲值" name="SubTran"
                                               class=" btn btn-default anniu_01" id="SubTran"/>
                                    </td>
                                </tr>
                                <table width="96%" border="0" cellpadding="0" cellspacing="5"
                                       style="position:absolute; margin-left:200px ; margin-top:380px;">
                                    <tr>
                                        <td align="left" style="padding-top:10px;"><strong
                                                    class="STYLE1">在线冲值说明：</strong></td>
                                    </tr>
                                    <tr>
                                        <td align="left"><span class="font-hblack"><span>
              <div style=" line-height:22px; font-size:12px;"> (1).请按表格填写准确的在线冲值信息,确认提交后会进入选择的银行进行在线付款! </div>
              <div style=" line-height:22px;font-size:12px;"> (2).交易成功后请点击返回支付网站可以查看您的订单信息! </div>
              <div style=" line-height:22px;font-size:12px;"> (3).如有任何疑问,您可以联系 在线客服,{{$config['name']}}
                  为您提供365天×24小时不间断的友善和专业客户咨询服务! </div>
              <div style=" line-height:22px;font-size:12px;"> (4).注意：充值成功后，请不要急着关闭支付成功的跳转页面，否则有可能不会到帐。 </div>
              <div style=" line-height:22px;font-size:12px;"> (5).如需网银汇款/ATM转账或支付宝存款，请联系在线客服索取存款账号！ </div>
              </span> </span></td>
                                    </tr>
                                </table>

                            </table>
                            <input type="hidden" name="pa_MP" id="pa_MP" value=""/>
                            <input size="50" type="hidden" name="pr_NeedResponse" id="pr_NeedResponse" value="1"/>
                        </form>
                        <!--<table width="96%" border="0" cellpadding="0" cellspacing="5">
                          <tr >
                            <td align="left" style="padding-top:10px;"><strong class="STYLE1">在线冲值说明：</strong></td>
                          </tr>
                          <tr>
                            <td align="left"><span class="font-hblack"><span >
                              <div style=" line-height:22px; font-size:12px;"> (1).请按表格填写准确的在线冲值信息,确认提交后会进入选择的银行进行在线付款! </div>
                              <div style=" line-height:22px;font-size:12px;"> (2).交易成功后请点击返回支付网站可以查看您的订单信息! </div>
                              <div style=" line-height:22px;font-size:12px;"> (3).如有任何疑问,您可以联系 在线客服,皇冠现金网为您提供365天×24小时不间断的友善和专业客户咨询服务! </div>
                              <div style=" line-height:22px;font-size:12px;"> (4).注意：充值成功后，请不要急着关闭支付成功的跳转页面，否则有可能不会到帐。 </div>
                              <div style=" line-height:22px;font-size:12px;"> (5).如需网银汇款/ATM转账或支付宝存款，请联系在线客服索取存款账号！ </div>
                              </span> </span></td>
                          </tr>
                        </table>-->


                        <!--新加-->
                    </div>
                    <!--    <img src="/home/2h.jpg" />-->
                </div>
                <!--<div style="margin-top: 3px;" class="entrustTen lasttenorder">
                      <div class="Tentitle">

                          <span class="lightblue4">充值记录</span>
                      </div>
                      <div class="coinBoxBody">
                          <table width="100%">
                              <tbody>
                                  <tr>
                                          <th width="190">订单号</th>
                                          <th width="190">时间</th>
                                          <th width="180">充值方式</th>
                                          <th width="180">金额</th>
                                          <th width="180">状态</th>

                                      </tr>
                                  <volist name="list" id="vo" empty="$empty">
                                  <tr>
                                    <td>{$vo.tradeno} </td>
                                  <td>{$vo.ctime|date="Y-m-d H:i:s",###}</td>
                                   <td>支付宝手动充值</td>
                                   <td>{$vo['num']}</td>
                                  <td>{$vo.status_fill}</td>

                                  </tr>
                                  </volist>
                              </tbody>
                          </table>
                      </div>

                      <div class="page">
                          <ul>
                          <li><a href="{$path}/Fill/zhifu_add/page/1">首页</a></li>
                          <li><a href="{$path}/Fill/zhifu_add/page/{$page-1}">上一页</a></li>
                          <li><a href="{$path}/Fill/zhifu_add/page/{$page+1}">下一页</a></li>
                          <li><a href="{$path}/Fill/zhifu_add/page/{$page_num}">尾页</a></li>
                          </ul>
                      </div>
                  </div>-->
            </div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>


<script>
    /*var $ = function(Id){
     return document.getElementById(Id);
     }*/


    //数字验证 过滤非法字符
    function clearNoNum(obj) {
        //先把非数字的都替换掉，除了数字和.
        obj.value = obj.value.replace(/[^\d.]/g, "");
        //必须保证第一个为数字而不是.
        obj.value = obj.value.replace(/^\./g, "");
        //保证只有出现一个.而没有多个.
        obj.value = obj.value.replace(/\.{2,}/g, ".");
        //保证.只出现一次，而不能出现两次以上
        obj.value = obj.value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");
        if (obj.value != '') {
            var re = /^\d+\.{0,1}\d{0,2}$/;
            if (!re.test(obj.value)) {
                obj.value = obj.value.substring(0, obj.value.length - 1);
                return false;
            } else {
                $("#p3_my").val($("#p3_Amt").val() / 6.5);
            }
        }
    }
    <!-- -->
    //去掉空格
    function check_null(string) {
        var i = string.length;
        var j = 0;
        var k = 0;
        var flag = true;
        while (k < i) {
            if (string.charAt(k) != " ")
                j = j + 1;
            k = k + 1;
        }
        if (j == 0) {
            flag = false;
        }
        return flag;
    }
    function VerifyData() {
//alert();
        var min_num ={{$config['pay_min_money']}};
        if (document.form1.p3_Amt.value == "") {
            alert("请输入存款金额！")
            document.form1.p3_Amt.focus();
            return false;
        }
        if (document.form1.p3_Amt.value != "") {
            if (document.form1.p3_Amt.value < min_num) {
                alert("充值不能小于" + min_num + "元！");
                document.form1.p3_Amt.focus();
                return false;
            }
        }
    }
    function url(s) {
        location.href = "<?=substr($_SERVER['HTTP_REFERER'], 0, strlen($_SERVER['HTTP_REFERER']) - 12) ?>/" + s;
    }
    $(".menu15").addClass("uc-current");
</script>
@include('home.public.footer')
